package org.chs.ts.batch.constant;

import lombok.Getter;

/**
 * @author wuwei
 * @date 2024/11/20
 * @apiNote
 */
@Getter
public enum TaskStepStatusCodeEnum {
    TASK_STEP_RUNNING_ERROR("500","批量任务子任务执行失败-子任务请求失败","500"),
    TASK_STEP_RUNNING_ROLLBACKERROR("500","批量任务子任务执行失败-子任务回滚执行失败","500");

    TaskStepStatusCodeEnum(String retCd,String retMsg,String taskRetCode) {
        this.retCd = retCd;
        this.retMsg = retMsg;
        this.taskRetCode = taskRetCode;
    }

    /**
     * 返回码
     */
    private final String retCd;
    /**
     * 返回信息
     */
    private final String retMsg;
    /**
     * 返回码 对应 controller Result 返回码
     */
    private final String taskRetCode;
}
